package com.edu.study.base.questionKind.service;

import java.util.List;
import com.edu.study.base.questionKind.domain.StuQuestionKind;

/**
 * 题型分类Service接口
 * 
 * @author jjt
 * @date 2021-05-17
 */
public interface IStuQuestionKindService 
{
    /**
     * 查询题型分类
     * 
     * @param id 题型分类ID
     * @return 题型分类
     */
    public StuQuestionKind selectStuQuestionKindById(Long id);

    /**
     * 查询题型分类列表
     * 
     * @param stuQuestionKind 题型分类
     * @return 题型分类集合
     */
    public List<StuQuestionKind> selectStuQuestionKindList(StuQuestionKind stuQuestionKind);

    /**
     * 新增题型分类
     * 
     * @param stuQuestionKind 题型分类
     * @return 结果
     */
    public int insertStuQuestionKind(StuQuestionKind stuQuestionKind);

    /**
     * 修改题型分类
     * 
     * @param stuQuestionKind 题型分类
     * @return 结果
     */
    public int updateStuQuestionKind(StuQuestionKind stuQuestionKind);

    /**
     * 批量删除题型分类
     * 
     * @param ids 需要删除的题型分类ID
     * @return 结果
     */
    public int deleteStuQuestionKindByIds(Long[] ids);

    /**
     * 删除题型分类信息
     * 
     * @param id 题型分类ID
     * @return 结果
     */
    public int deleteStuQuestionKindById(Long id);

    List<StuQuestionKind> getQuestionKindByCatalogId(Long catalogId);

    List<StuQuestionKind> selectStuQuestionKindListByIds(List<Long> questionTypeIds);
}
